package com.cf.expensetracker;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * Copyright(C) 2025- com.cf
 * FileName:    Result
 * Author:      cf
 * Date:        2025/1/19 20:09
 * Description: Result Entity for storing
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result {
    /**
     * Max id at current time
     */
    private Integer maxId;
    /**
     * Store expense list
     */
    private List<Expense> expenses = new ArrayList<>();
    /**
     * Budget for current month
     * -1.0: no budget
     */
    private Double budget = -1.0;

}
